package com.example.king.openglenvdemo;

import android.app.Activity;
import android.opengl.GLSurfaceView;
import android.os.Bundle;

import com.example.king.openglenvdemo.nativegl.GL2JNIView;

public class MainActivity extends Activity {

    private GLSurfaceView mGLView;
    private GL2JNIView mGLJniView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

//        mGLView = new MyGLSurfaceView(this);
        mGLJniView = new GL2JNIView(this);

        setContentView(mGLJniView);
    }


    @Override
    protected void onPause() {
        super.onPause();
        mGLJniView.onPause();
    }

    @Override
    protected void onResume() {
        super.onResume();
        mGLJniView.onResume();
    }
}
